﻿using System;
using System.Collections.ObjectModel;

namespace TulingMember.Core
{
    public class SaleOrderReturn
    {
        public long Id { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public string Remark { get; set; }
        public DateTime CreatedAt { get; set; } = DateTime.Now;

        public long CustomerId { get; set; }
        public long BuyOrderId { get; set; }

        public virtual Customer Customer { get; set; }        
        public virtual ObservableCollection<SaleOrderReturnDetail> Details { get; set; } = new ObservableCollection<SaleOrderReturnDetail>();
    }
}
